package cn.donting.web.desktop.sys.controller;

import cn.donting.web.desktop.core.domain.ResponseEntity;
import cn.donting.web.desktop.sys.push.SysPushCenter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.websocket.server.PathParam;

@RestController
//@RequestMapping("/sys/push")
public class PushController {

//    @Autowired
//    SysPushCenter sysPushCenter;

//    @PutMapping("/confirm/{msgId}/{result}")
//    public ResponseEntity confirm(@RequestParam("msgId") Long msgId,
//                                  @RequestParam("result") Boolean result) {
//        sysPushCenter.callConfirm(msgId, result);
//        return ResponseEntity.ok(null);
//    }
}
